Skip to content

feat(tui): show swarm mode in /status panel - #2148

Closed
bowenliang123 wants to merge 1 commit into
MoonshotAI:mainfrom
bowenliang123:feat/tui-status-swarm-mode
Closed

feat(tui): show swarm mode in /status panel#2148
bowenliang123 wants to merge 1 commit into
MoonshotAI:mainfrom
bowenliang123:feat/tui-status-swarm-mode

Conversation

@bowenliang123

@bowenliang123 bowenliang123 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Related Issue

No prior issue — this is a small UI parity fix.

Problem

The web UI's /status panel shows whether Swarm mode is enabled, but the TUI's /status command omits that field. This makes it harder for terminal users to confirm the current session mode at a glance.

What changed

  • Added a Swarm mode row to the TUI /status report, placed after Plan mode to match the web UI order.
  • The value is read from the runtime session status when available, falling back to the local app state (consistent with how Plan mode is handled).
  • Updated the status panel unit tests to cover both the runtime-status and fallback paths.

Before

image

After

image

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

@changeset-bot

changeset-bot Bot commented Jul 24, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 714a7ad

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@bowenliang123
bowenliang123 force-pushed the feat/tui-status-swarm-mode branch from e3cae4a to 714a7ad Compare July 31, 2026 07:32
@pkg-pr-new

pkg-pr-new Bot commented Jul 31, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@714a7ad
npx https://pkg.pr.new/@moonshot-ai/kimi-code@714a7ad

commit: 714a7ad

@liruifengv liruifengv closed this Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants